package kr.hkit.powerjava.chapter06.work2class;

class Ifwork02 {

	private char ch;

	public Ifwork02(char ch) {
		super();
		this.ch = ch;
	}

	public void changeA() {

		if (ch >= 'A' && ch <= 'Z') {
			System.out.printf("%c", ch - 'A' + 'a');
		} else {
			if (ch >= 'a' && ch <= 'z') {
				System.out.println(ch);
			} else {
				System.out.println("영문 대소문자만 가능함");
			}
		}
	}
}
